<template>
	<block v-if="user==''">
		<normal-index></normal-index>
	</block>
	<block v-else>
		<login-index></login-index>
	</block>
</template>

<script>
	export default {
		data() {
			return {
				user: uni.getStorageSync('UserInfo', null)
			}
		},
		onLoad() {},
		onShow() {
			this.user = uni.getStorageSync('UserInfo', '')
		},
		methods: {}
	}
</script>

<style>
</style>
